WSAL\Entities\Query_Builder_Parser B

Total Complexity 77
Dependencies 1
Dependents 1
Total lines 743
Lines of code 208
Logical lines of code 123
Comment lines 318
Methods 25
Properties 5

Methods 25

Method Rating Maintainability Complexity Lines of code
create_nested_query()
S
56 5 17
parse()
S
58 5 15
decode_json()
S
60 5 13
loop_through_rules()
S
60 5 12
make_query_when_array()
S
64 5 8
append_operator_if_required()
S
63 4 11
validate_condition()
S
64 4 10
is_nested()
S
69 4 6
get_correct_value()
S
61 3 11
convert_incoming_qbto_query()
S
61 3 11
make_query_when_null()
S
65 3 8
check_field_is_an_array()
S
71 3 5
enforce_array_or_string()
S
68 3 7
make_array_query_between()
S
62 3 9
operator_is_null()
S
77 3 3
operator_value_when_not_accepting_one()
S
70 3 6
check_rule_correct()
S
65 3 9
get_value_for_query_from_rule()
S
63 2 10
convert_array_to_flat_value()
S
69 2 6
make_query()
S
65 2 9
get_rule_value()
S
70 2 6
make_array_query_in()
S
68 2 6
get_operator_sql()
S
80 1 3
strip_last_condition()
S
73 1 4
operator_requires_array()
S
79 1 3